<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once APPPATH."third_party/MX/Config.php";
class MY_Config extends MX_Config {
	
	function __construct(){
		parent::__construct();
	}
	
    function admin_url($uri){
		if ($uri == '')
		{
			return ltrim($this->slash_item('base_url'),'/').$this->slash_item('admin_url');
		}
		else{
			return ltrim($this->slash_item('base_url'),'/').$this->slash_item('admin_url').ltrim($this->_uri_string($uri),'/');
		}
	}
	
	function get_base_url(){
		return trim($this->slash_item('base_url'),'/');
	}
}